
// #ifndef VUE3
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'
import uView from "uview-ui";
Vue.use(uView);
import http from './js/http.js'
Vue.prototype.$http = http;
import common_url from './js/common_url.js'
Vue.prototype.$imgUrl = 'https://kadai-bucket.oss-cn-shanghai.aliyuncs.com';
// Vue.prototype.$webImgUpload = 'https://kadai.qingandw.com/api/common/upload';
Vue.prototype.$webImgUpload = 'https://kadaidemo.qingandw.com/api/common/upload';
let pageTo = (url) => {
	uni.navigateTo({
		url:url,
		//animationType: 'none',
	})
}
Vue.prototype.$pageTo = pageTo;

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif